package com.maxh.mapper;

import com.maxh.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TeacherMapper {
    List<Map<String, Object>> getTeacherList();

    List<Map<String, Object>> searchTeacherList(Map<String, Object> map);

    Teacher searchTeacherById(Map<String, Object> map);

    boolean deleteTeacher(String id);

    boolean addTeacher(Map<String, Object> mapTeacher);

    boolean updateTeacher(Map<String, Object> mapTeacher);

    Boolean updatePassword(@Param("id")String id,@Param("password")String password);

    List<Map<String, Object>> findTeacherList();
}
